Repository navigation
Libraries read-only in IDE links - #25
Merged
Merged
Conversation
«IDE-Link kopieren» marks the block's libraries (loaded by URL) as readOnly, so the IDE (with glpython-editor v0.1.19) shows them with a lock and doesn't let them be edited, renamed or deleted - as «Datei ansehen» shows them here. A block file with a library's name replaces it and stays editable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Decision 2 from the Etappe 4 check: a block's libraries (e.g.
parser.pyloaded by URL) are read-only in the IDE too, as «Datei ansehen» shows them here.Changes
readOnly: truein the IDE link.Order
Independent of the IDE PR. The current IDE ignores the flag, so the link works either way. With the IDE on glpython-editor v0.1.19 (IDE PR «Read-only files; bump glpython-editor to v0.1.19»), the library shows with a lock and can't be edited, renamed or deleted.
Tested in LiaScript
Hosted player in Chrome, this macro served locally, the evaluator course with
parser.pyas a library URL. I decoded the copied IDE link:parser.pyread-only,main.pynotauswerter.py:parser.pyread-only,auswerter.pynot;mainFileisauswerter.pycheck-macropasses.🤖 Generated with Claude Code